package design.pattern.外观模式;

public enum  Facde {
    INSTANCE;
    private ModuleA a;
    private ModuleB b;
    private ModuleC c;

    private Facde(){
        a = new ModuleA();
        b = new ModuleB();
        c = new ModuleC();
    }

    public void test(){
        a.testA();
        b.testB();
        c.testC();
    }

}
